import { request } from '../utils/request'

export function drugCompanyPolicyList(params) {
    return request({
        method: 'post',
        url: 'drugCompany/getCompanyPolicys',
        data: params,
    })
}

export function addDrugCompanyPolicy(params){
    return request({
        method:'post',
        url:'drugCompany/addCompanyPolicy',
        data:params
    })
}

export function editDrugCompanyPolicy(params){
    return request({
        method:'post',
        url:'drugCompany/editCompanyPolicy',
        data:params
    })
}

export function delOne(params){
    return request({
        method:'post',
        url:'drugCompany/delCompanyPolicyById',
        data:params
    })
}

export function delMore(params){
    return request({
        method:'post',
        url:'drugCompany/delCompanyPolicyBatch',
        data:params
    })
}

export function getCompany(){
    return request({
        method:'get',
        url:'drugCompany/getList',
    })
}
